package com.uam.core.entity.model.entity.model;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;

public class PointDetail extends TaskDetail {

	private double[] position = null;

	private long time = 0L;

	private double speed = 0.00D;

	private double altitude = 0.00D;

	private int communicationSignal = -1;

	private int navigationSignal = -1;

	private int supervisorySignal = -1;

	private double safeDistance = 0.00D;

	private double positioningAccuracy = 0.00D;

	private int connNum = 0;

	public PointDetail() {
		this(0, null, null, null, null, 0, 0, 0.00D, 0.00D, 0, null, 0.00D, 0.00D, 0.00D, 0.00D, 0L, 0.00D, null, 0,
				null, null, 0L, 0.00D, 0.00D, 0, 0, 0, 0.00D, 0.00D, 0);
	}

	public PointDetail(int taskId, String taskName, JSONObject startPoint, JSONObject endPoint, JSONArray passPoints,
			int status, int mode, double distance, double cost, int aircraftId, String aircraftName, double minAltitude,
			double maxAltitude, double maxSpeed, double maxDuration, long startTime, double avgSpeed, String modelName,
			int authorId, String authorName, double[] position, long time, double speed, double altitude,
			int communicationSignal, int navigationSignal, int supervisorySignal, double safeDistance,
			double positioningAccuracy, int connNum) {
		super(taskId, taskName, startPoint, endPoint, passPoints, status, mode, distance, cost, aircraftId,
				aircraftName, minAltitude, maxAltitude, maxSpeed, maxDuration, startTime, avgSpeed, modelName, authorId,
				authorName);
		this.position = position;
		this.time = time;
		this.speed = speed;
		this.altitude = altitude;
		this.communicationSignal = communicationSignal;
		this.navigationSignal = navigationSignal;
		this.supervisorySignal = supervisorySignal;
		this.safeDistance = safeDistance;
		this.positioningAccuracy = positioningAccuracy;
		this.connNum = connNum;
	}

	public double[] getPosition() {
		return position;
	}

	public void setPosition(double[] position) {
		this.position = position;
	}

	public long getTime() {
		return time;
	}

	public void setTime(long time) {
		this.time = time;
	}

	public double getSpeed() {
		return speed;
	}

	public void setSpeed(double speed) {
		this.speed = speed;
	}

	public double getAltitude() {
		return altitude;
	}

	public void setAltitude(double altitude) {
		this.altitude = altitude;
	}

	public int getCommunicationSignal() {
		return communicationSignal;
	}

	public void setCommunicationSignal(int communicationSignal) {
		this.communicationSignal = communicationSignal;
	}

	public int getNavigationSignal() {
		return navigationSignal;
	}

	public void setNavigationSignal(int navigationSignal) {
		this.navigationSignal = navigationSignal;
	}

	public int getSupervisorySignal() {
		return supervisorySignal;
	}

	public void setSupervisorySignal(int supervisorySignal) {
		this.supervisorySignal = supervisorySignal;
	}

	public double getSafeDistance() {
		return safeDistance;
	}

	public void setSafeDistance(double safeDistance) {
		this.safeDistance = safeDistance;
	}

	public double getPositioningAccuracy() {
		return positioningAccuracy;
	}

	public void setPositioningAccuracy(double positioningAccuracy) {
		this.positioningAccuracy = positioningAccuracy;
	}

	public int getConnNum() {
		return connNum;
	}

	public void setConnNum(int connNum) {
		this.connNum = connNum;
	}

}
